package main

import (
	"Log/mylogger1"
	"time"
)

func main()  {
	for {
		log := mylogger1.NewLogger("info")
		log.Debug("this is Debug log")
		log.Trace("this is Trace log")
		log.Info("this is Info log")
		log.Warning("this is Warning log")
		id := 1010
		name := "kevin"
		log.Error("this is error log id: %d, name: %s", id, name)
		log.Fatal("this is Fatal log")
		time.Sleep(time.Second*2)
	}

}
